package cn.hsw.manage.center.service;

import cn.hsw.manage.center.entity.RolePermissionCenter;
import cn.hsw.manage.center.entity.UserRoleCenter;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * @author 李子木
 */
public interface RolePermissionCenterService extends IService<RolePermissionCenter> {
    void bind(Long rolePid, List<Long> permissionPidList);

    List<RolePermissionCenter> findByRolePid(Long rolePid);
}
